package com.admin.education.dataTransferObject.question.Request;

import com.admin.education.models.Enum.QuestionType;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.util.List;
@Data
public class UpdateQuestionRequest {
    @NotBlank
    @Length(max=1024)
    private String examinationQuestions;
    private QuestionType questionType;
    private List<UpdateAnswerRequest> answers;
    private long subjectId;
    @DecimalMin(value = "0")
    private BigDecimal mark;
}
